package com.example.feignapi.client;

import com.weiiew.common.entity.vo.BuildingVO;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @Description
 * @Author 魏锴
 * @Date 2025/4/3
 */
@FeignClient(name = "buildService")
public interface BuildClient {
    @RequestMapping("/build/feign/list/cost")
    public List<BuildingVO> getBuildingsByCostId(@RequestParam("id") Integer id);
}
